<!DOCTYPE html>
<html>
  <head>
    <title>北斗智慧校园</title>
	
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../../../css/index.css">
	<script type="text/javascript" src="../../../../../public/libs/jquery/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="../../../../../public/libs/jquery/jquery-lhgdialog/lhgdialog.min.js?self=true&skin=idialog"></script>
	<script type="text/javascript" src="../../../../../public/js/ajax-crud.js"></script>
	<script type="text/javascript" src="../../../../../public/js/config.js"></script>
	<script type="text/javascript" src="../../../../../public/js/check.js"></script>
	<script type="text/javascript" src="../../../../../public/js/home-common.js"></script>
	<script type="text/javascript" src="../../../../../public/libs/datepicker/WdatePicker.js"></script>
	<script type="text/javascript" src="../../../../../public/js/checkkey.js"></script>
	<script type="text/javascript" src="../js/studentdialog.js"></script>
	<script type="text/javascript" src="js/adduser.js"></script>
  </head>
  <body style="overflow: hidden;font-family: 微软雅黑;">
	<div class="right-title">
		<div class="title-img">
			<img src="../../../../../img/xw/add.png" width="100%" height="100%">
		</div>
		<div class="title-text">添加用户</div>
		<div class="title-model-now">
			<img src="../../../../../img/xw/lim.png" style="margin-top:5px;"/>
			<img src="../../../../../img/xw/lft.png" style="margin-top:9px;"/>
			<div class="model-now-text">权限管理</div>
			<img src="../../../../../img/xw/lft.png" style="margin-top:9px;"/>
			<div class="model-now-text" style="color:#949496;">添加用户</div>
		</div>
	</div>
	<div class="right-content">
		<div class="content-title">
			<div class="table-logo">
				<img src="../../../../../img/xw/add-li.png" width="100%" height="100%">
			</div>
			<div class="table-title">添加用户</div>
		</div>
		<div class="data-back-img"></div>
		<div class="content-data-show">
			<div class="add-info">
				<div class="add-info-title">
					<div class="add-titles">
						<img src="../../../../../img/xw/person.png"  width="25px" height="25px">&nbsp;用户信息
					</div>
					<div class="add-title-exlain">请填写正确的用户信息</div>
				</div>
				<div class="add-info-content">
					<table class="info-table">
						<tr>
							<td class="table-left"><font color="red">*</font>用户类型</td>
							<td class="table-middle">
								<select id="user-usertype" disabled="disabled">
									<option value="0" selected="selected">管理员</option>
								</select>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-usertype-ex"></span>
							</td>
							<td class="table-left" id="user-font-role"><font color="red">*</font>角色</td>
							<td class="table-middle" id="user-role-td">
								<select id="user-code"></select>
							</td>
							<td class="table-right" id="user-role-td-right">
								<span class="check-fail" id="user-role-ex"></span>
							</td>
							
							<td class="table-left" id="user-font-student" style="display:none;"><font color="red">*</font>学生</td>
							<td class="table-middle" id="user-student-td" style="display:none;">
								<input type="text" id="user-student" readonly="readonly" studentcodes="" imeis = "" style="background-color: #E5E5E5;">
							</td>
							<td class="table-right" id="user-student-td-right" style="display:none;">
								<div title="选择学生" class="choice-user-btn" id="choice-student"></div>
								<input type="text"  style="display:none" id="user-studentcodes">
								<span class="check-fail" id="user-student-ex" style="margin-left:30px;"></span>
							</td>
						</tr>
						<tr class="user-islock" style="display:none;">
							<td class="table-left"><font color="red">*</font>是否锁定</td>
							<td class="table-middle">
								<select id="user-islock">
									<option value="true" selected="selected">否</option>
									<option value="false">是</option>
								</select>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-islock-ex"></span>
							</td>
							<td class="table-left" id="user-font-lockdate" style="display:none;"><font color="red">*</font>锁定日期</td>
							<td class="table-middle">
								<input type="text" id="user-lockdate" style="display:none;" class="Wdate" readonly="readonly" onclick="WdatePicker({dateFmt: 'yyyy-MM-dd'})"/>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-lockdate-ex"></span>
							</td>
						</tr>
						<tr>
							<td class="table-left"><font color="red">*</font>用户名</td>
							<td class="table-middle">
								<input type="text" id="user-usercode"/>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-usercode-ex"></span>
							</td>
							<td class="table-left"><font color="red">*</font>昵称</td>
							<td class="table-middle">
								<input type="text" id="user-alias" style="width:100px;"/>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-alias-ex"></span>
							</td>
						</tr>
						<tr id="user-pwd">
							<td class="table-left"><font color="red">*</font>密码</td>
							<td class="table-middle">
								<input type="password" id="user-password"/>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-password-ex"></span>
							</td>
							<td class="table-left"><font color="red">*</font>确认密码</td>
							<td class="table-middle">
								<input type="password" id="user-confirm-password"/>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-confirm-password-ex"></span>
							</td>
						</tr>
						<tr>
							<td class="table-left">电话</td>
							<td class="table-middle">
								<input type="text" id="user-cellphone" onkeyUp = "this.value=this.value.replace(/\D/g,'');"/>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-cellphone-ex"></span>
							</td>
							<td class="table-left">电子邮箱</td>
							<td class="table-middle">
								<input type="text" id="user-email"/>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-email-ex"></span>
							</td>
						</tr>
						<tr>
							<td class="table-left">地区</td>
							<td class="table-middle">
								<input type="text" id="user-region"/>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-region-ex"></span>
							</td>
							<td class="table-left">地址</td>
							<td class="table-middle">
								<input type="text" id="user-address">
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-address-ex"></span>
							</td>
						</tr>
						<tr>
							<td class="table-left">备注</td>
							<td class="table-middle">
								<input type="text" id="user-remark"/>
							</td>
							<td class="table-right">
								<span class="check-fail" id="user-remark-ex"></span>
							</td>							
						</tr>
					</table>
				</div>
			</div>
			<div class="add-stu-bottom">
				<div class="save-btns" id="user-add">保&nbsp;存</div>
			</div>
		</div>
	</div>
 </body>
</html>
